<?php
/**
 * @file
 * itd_news.ds.inc
 */

/**
 * Implementation of hook_ds_field_settings_info().
 */
function itd_news_ds_field_settings_info() {
  $export = array();

  $ds_fieldsetting = new stdClass;
  $ds_fieldsetting->api_version = 1;
  $ds_fieldsetting->id = 'node|news|default';
  $ds_fieldsetting->entity_type = 'node';
  $ds_fieldsetting->bundle = 'news';
  $ds_fieldsetting->view_mode = 'default';
  $ds_fieldsetting->settings = array(
    'post_date' => array(
      'weight' => '0',
      'label' => 'hidden',
      'format' => 'ds_post_date_medium',
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'postdate',
      ),
    ),
    'taxonomy_vocabulary_3' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'span',
        'lb-cl' => 'label',
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'tax-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
  );
  $export['node|news|default'] = $ds_fieldsetting;

  $ds_fieldsetting = new stdClass;
  $ds_fieldsetting->api_version = 1;
  $ds_fieldsetting->id = 'node|news|full';
  $ds_fieldsetting->entity_type = 'node';
  $ds_fieldsetting->bundle = 'news';
  $ds_fieldsetting->view_mode = 'full';
  $ds_fieldsetting->settings = array(
    'post_date' => array(
      'weight' => '0',
      'label' => 'hidden',
      'format' => 'ds_post_date_medium',
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'postdate',
      ),
    ),
    'field_news_ballot' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h2',
        'lb-cl' => 'ref',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_news_event' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h2',
        'lb-cl' => 'ref',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_news_image' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'img-right',
      ),
    ),
    'field_news_prog' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h2',
        'lb-cl' => 'ref',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_news_resource' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h2',
        'lb-cl' => 'ref',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_news_video' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h2',
        'lb-cl' => 'ref',
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'taxonomy_vocabulary_3' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'span',
        'lb-cl' => 'label',
        'ow' => TRUE,
        'ow-el' => 'div',
        'ow-cl' => 'taxlist',
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'inline',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
  );
  $export['node|news|full'] = $ds_fieldsetting;

  $ds_fieldsetting = new stdClass;
  $ds_fieldsetting->api_version = 1;
  $ds_fieldsetting->id = 'node|news|teaser';
  $ds_fieldsetting->entity_type = 'node';
  $ds_fieldsetting->bundle = 'news';
  $ds_fieldsetting->view_mode = 'teaser';
  $ds_fieldsetting->settings = array(
    'title' => array(
      'weight' => '0',
      'label' => 'hidden',
      'format' => 'default',
      'formatter_settings' => array(
        'link' => '1',
        'wrapper' => 'h2',
        'class' => '',
      ),
    ),
    'post_date' => array(
      'weight' => '1',
      'label' => 'hidden',
      'format' => 'ds_post_date_medium',
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'postdate',
      ),
    ),
    'field_news_image' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'img-right',
      ),
    ),
  );
  $export['node|news|teaser'] = $ds_fieldsetting;

  return $export;
}

/**
 * Implementation of hook_ds_layout_settings_info().
 */
function itd_news_ds_layout_settings_info() {
  $export = array();

  $ds_layout = new stdClass;
  $ds_layout->api_version = 1;
  $ds_layout->id = 'node|news|default';
  $ds_layout->entity_type = 'node';
  $ds_layout->bundle = 'news';
  $ds_layout->view_mode = 'default';
  $ds_layout->layout = 'ds_1col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'ds_content' => array(
        0 => 'post_date',
        1 => 'taxonomy_vocabulary_3',
        2 => 'field_news_image',
        3 => 'body',
        4 => 'field_news_contact_view',
        5 => 'field_news_event',
        6 => 'field_news_ballot',
        7 => 'field_news_prog',
        8 => 'field_news_video',
        9 => 'field_news_resource',
      ),
    ),
    'fields' => array(
      'post_date' => 'ds_content',
      'taxonomy_vocabulary_3' => 'ds_content',
      'field_news_image' => 'ds_content',
      'body' => 'ds_content',
      'field_news_contact_view' => 'ds_content',
      'field_news_event' => 'ds_content',
      'field_news_ballot' => 'ds_content',
      'field_news_prog' => 'ds_content',
      'field_news_video' => 'ds_content',
      'field_news_resource' => 'ds_content',
    ),
    'classes' => array(),
  );
  $export['node|news|default'] = $ds_layout;

  $ds_layout = new stdClass;
  $ds_layout->api_version = 1;
  $ds_layout->id = 'node|news|full';
  $ds_layout->entity_type = 'node';
  $ds_layout->bundle = 'news';
  $ds_layout->view_mode = 'full';
  $ds_layout->layout = 'ds_1col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'ds_content' => array(
        0 => 'post_date',
        1 => 'taxonomy_vocabulary_3',
        2 => 'field_news_image',
        3 => 'body',
        4 => 'field_news_special',
        5 => 'field_news_contact_view',
        6 => 'field_news_prog',
        7 => 'field_news_ballot',
        8 => 'field_news_event',
        9 => 'field_news_resource',
        10 => 'field_news_video',
      ),
    ),
    'fields' => array(
      'post_date' => 'ds_content',
      'taxonomy_vocabulary_3' => 'ds_content',
      'field_news_image' => 'ds_content',
      'body' => 'ds_content',
      'field_news_special' => 'ds_content',
      'field_news_contact_view' => 'ds_content',
      'field_news_prog' => 'ds_content',
      'field_news_ballot' => 'ds_content',
      'field_news_event' => 'ds_content',
      'field_news_resource' => 'ds_content',
      'field_news_video' => 'ds_content',
    ),
    'classes' => array(),
  );
  $export['node|news|full'] = $ds_layout;

  $ds_layout = new stdClass;
  $ds_layout->api_version = 1;
  $ds_layout->id = 'node|news|teaser';
  $ds_layout->entity_type = 'node';
  $ds_layout->bundle = 'news';
  $ds_layout->view_mode = 'teaser';
  $ds_layout->layout = 'ds_1col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'ds_content' => array(
        0 => 'title',
        1 => 'post_date',
        2 => 'field_news_image',
        3 => 'body',
      ),
    ),
    'fields' => array(
      'title' => 'ds_content',
      'post_date' => 'ds_content',
      'field_news_image' => 'ds_content',
      'body' => 'ds_content',
    ),
    'classes' => array(),
  );
  $export['node|news|teaser'] = $ds_layout;

  return $export;
}
